FROM java:8

MAINTAINER 276791382@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /blog-eureka

WORKDIR /blog-eureka

EXPOSE 8761

ADD ./blog-eureka.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar blog-eureka.jar
